A Comparison of C, MATLAB, and Python as Teaching Languages in Engineering

نویسنده

  • Hans Fangohr
چکیده

We describe and compare the programming languages C, MATLAB and Python as teaching languages for engineering students. We distinguish between two distinct phases in the process of converting a given problem into a computer program that can provide a solution: (i) finding an algorithmic solution and (ii) implementing this in a particular programming language. It is argued that it is most important for the understanding of the students to perform the first step whereas the actual implementation in a programming language is of secondary importance for the learning of problem-solving techniques. We therefore suggest to chose a well-structured teaching language that provides a clear and intuitive syntax and allows students to quickly express their algorithms. In our experience in engineering computing we find that MATLAB is much better suited than C for this task but the best choice in terms of clarity and functionality of the language is provided by Python.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Scripting Modelica Models Using Python

Modelica has evolved as a powerful language for encoding models of complex systems. In control engineering, it is of interest to be able to analyze dynamic models using scripting languages such as MATLAB and Python. This paper illustrates some analysis and design methods relevant in control engineering through scripting a Modelica model of an anaerobic digester model using Python, and discusses...

متن کامل

Signal Processing and Communications: Teaching and Research Using IPython Notebook

This paper will take the audience through the story of how an electrical and computer engineering faculty member has come to embrace Python, in particular IPython Notebook (IPython kernel for Jupyter), as an analysis and simulation tool for both teaching and research in signal processing and communications. Legacy tools such as MATLAB are well established (entrenched) in this discipline, but en...

متن کامل

Choosing the First Educational Programming Language

The article describes requirements to educational programming languages and considers the use of Python as the first programming language. The issues of introduction of this programming language into teaching and replacing Pascal by Python are examined. The advantages of such approach are regarded. The comparison of popular programming languages is represented from the point of view of their co...

متن کامل

The Use of Programming Languages and Computer Software in Psychological Science

In the present paper, we review some programming languages and computer software used to investigate basic psychological processes. In the fi rst section, we address the principles and logical structure of the most common programming languages (e.g. C, C++, Java, Matlab, R, Python), and in the second section we present some of their applications to psychological research. Finally, we discuss th...

متن کامل

Comparative Studies of Six Programming Languages

Comparison of programming languages is a common topic of discussion among software engineers. Multiple programming languages are designed, specified, and implemented every year in order to keep up with the changing programming paradigms, hardware evolution, etc. In this paper we present a comparative study between six programming languages: C++, PHP, C#, Java, Python, VB ; These languages are c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004